package com.hn.common.utils.text;

import com.alibaba.fastjson.JSONObject;

/**
 * 描述:
 *

 * @date 2019-10-30 10:06
 */
public class ConvertObj {

    public static Object convertObj(Object o, Class clazz){
        return JSONObject.parseObject(JSONObject.toJSONString(o),clazz);
    }
}
